3.19.90 \(\int (\frac {d (a+b x)}{-b c+a d})^m (c+d x)^n \, dx\) [1890]

Optimal. Leaf size=45 \[ \frac {(c+d x)^{1+n} \, _2F_1\left (-m,1+n;2+n;\frac {b (c+d x)}{b c-a d}\right )}{d (1+n)} \]

[Out]

(d*x+c)^(1+n)*hypergeom([-m, 1+n],[2+n],b*(d*x+c)/(-a*d+b*c))/d/(1+n)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {192, 71} \begin {gather*} \frac {(c+d x)^{n+1} \, _2F_1\left (-m,n+1;n+2;\frac {b (c+d x)}{b c-a d}\right )}{d (n+1)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((d*(a + b*x))/(-(b*c) + a*d))^m*(c + d*x)^n,x]

[Out]

((c + d*x)^(1 + n)*Hypergeometric2F1[-m, 1 + n, 2 + n, (b*(c + d*x))/(b*c - a*d)])/(d*(1 + n))

Rule 71

Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)/(b*(m + 1)*(b/(b*c
 - a*d))^n))*Hypergeometric2F1[-n, m + 1, m + 2, (-d)*((a + b*x)/(b*c - a*d))], x] /; FreeQ[{a, b, c, d, m, n}
, x] && NeQ[b*c - a*d, 0] &&  !IntegerQ[m] &&  !IntegerQ[n] && GtQ[b/(b*c - a*d), 0] && (RationalQ[m] ||  !(Ra
tionalQ[n] && GtQ[-d/(b*c - a*d), 0]))

Rule 192

Int[(u_)^(m_.)*(v_)^(n_.), x_Symbol] :> Int[ExpandToSum[u, x]^m*ExpandToSum[v, x]^n, x] /; FreeQ[{m, n}, x] &&
 LinearQ[{u, v}, x] &&  !LinearMatchQ[{u, v}, x]

Rubi steps

\begin {align*} \int \left (\frac {d (a+b x)}{-b c+a d}\right )^m (c+d x)^n \, dx &=\int (c+d x)^n \left (-\frac {a d}{b c-a d}-\frac {b d x}{b c-a d}\right )^m \, dx\\ &=\frac {(c+d x)^{1+n} \, _2F_1\left (-m,1+n;2+n;\frac {b (c+d x)}{b c-a d}\right )}{d (1+n)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 88, normalized size = 1.96 \begin {gather*} \frac {(a+b x) \left (\frac {d (a+b x)}{-b c+a d}\right )^m (c+d x)^n \left (\frac {b (c+d x)}{b c-a d}\right )^{-n} \, _2F_1\left (1+m,-n;2+m;\frac {d (a+b x)}{-b c+a d}\right )}{b (1+m)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((d*(a + b*x))/(-(b*c) + a*d))^m*(c + d*x)^n,x]

[Out]

((a + b*x)*((d*(a + b*x))/(-(b*c) + a*d))^m*(c + d*x)^n*Hypergeometric2F1[1 + m, -n, 2 + m, (d*(a + b*x))/(-(b
*c) + a*d)])/(b*(1 + m)*((b*(c + d*x))/(b*c - a*d))^n)

________________________________________________________________________________________

Maple [F]
time = 0.09, size = 0, normalized size = 0.00 \[\int \left (\frac {d \left (b x +a \right )}{a d -b c}\right )^{m} \left (d x +c \right )^{n}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*(b*x+a)/(a*d-b*c))^m*(d*x+c)^n,x)

[Out]

int((d*(b*x+a)/(a*d-b*c))^m*(d*x+c)^n,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*(b*x+a)/(a*d-b*c))^m*(d*x+c)^n,x, algorithm="maxima")

[Out]

integrate((d*x + c)^n*(-(b*x + a)*d/(b*c - a*d))^m, x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*(b*x+a)/(a*d-b*c))^m*(d*x+c)^n,x, algorithm="fricas")

[Out]

integral((d*x + c)^n*(-(b*d*x + a*d)/(b*c - a*d))^m, x)

________________________________________________________________________________________

Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: HeuristicGCDFailed} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*(b*x+a)/(a*d-b*c))**m*(d*x+c)**n,x)

[Out]

Exception raised: HeuristicGCDFailed >> no luck

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*(b*x+a)/(a*d-b*c))^m*(d*x+c)^n,x, algorithm="giac")

[Out]

integrate((d*x + c)^n*(-(b*x + a)*d/(b*c - a*d))^m, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int {\left (c+d\,x\right )}^n\,{\left (\frac {d\,\left (a+b\,x\right )}{a\,d-b\,c}\right )}^m \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c + d*x)^n*((d*(a + b*x))/(a*d - b*c))^m,x)

[Out]

int((c + d*x)^n*((d*(a + b*x))/(a*d - b*c))^m, x)

________________________________________________________________________________________